<?xml version="1.0" encoding="utf-8"?>
<interface>
  <template class="NoteWindow" parent="AdwWindow">
    <property name="title" translatable="yes">Note</property>
    <property name="modal">true</property>
    <property name="hexpand">false</property>
    <property name="width-request">20</property>
    <property name="default_width">20</property>
    <property name="default_height">20</property>
    <property name="content">
      <object class="GtkBox">
	<property name="orientation">vertical</property>
	<property name="width-request">650</property>
	<child type="top">
	  <object class="AdwHeaderBar">
	    <property name="title-widget">
	      <object class="AdwWindowTitle">Note</object>
	    </property>
	    <child type="start">
	      <object class="GtkButton" id="back_button">
		<property name="icon-name">go-previous-symbolic</property>
		<property name="tooltip-text" translatable="yes">Back</property>
		<property name="action-name">win.back</property>
	      </object>
	    </child>
	    <child type="end">
	      <object class="GtkButton">
		<property name="label">Save</property>
		<style>
		  <class name="suggested-action" />
		</style>
		<property name="tooltip-text" translatable="yes">Save note</property>
		<property name="action-name">win.save</property>
	      </object>
	    </child>
	  </object>
	</child>
	<child>
	  <object class="GtkBox">
	    <property name="hexpand">True</property>
	    <property name="halign">GTK_ALIGN_CENTER</property>	    
	    <child>
	      <object class="GtkListBox">
		<property name="hexpand">False</property>
		<property name="margin-top">10</property>
		<child>
		  <object class="AdwComboRow">
		    <property name="hexpand">False</property>
		    <property name="title" translatable="yes">Priority: </property>
		    <property name="model">
		      <object class="GtkStringList">
			<items>
			  <item translatable="yes">None</item>
			  <item translatable="yes">High</item>
			  <item translatable="yes">Medium</item>
			  <item translatable="yes">Low</item>
			</items>
		      </object>
		    </property>
		  </object>
		</child>
	      </object>
	    </child>
	  </object>
	</child>
	<child>
	  <object class="GtkBox">
	    <property name="hexpand">True</property>
	    <property name="vexpand">True</property>
	    <property name="margin-start">10</property>
	    <property name="margin-end">10</property>
	    <property name="margin-top">10</property>
	    <property name="margin-bottom">10</property>
	    <child>
	      <object class="GtkFrame">
		<child>
		  <object class="GtkScrolledWindow">
		    <property name="vexpand">True</property>
		    <property name="hexpand">True</property>
		    <property name="child">
		      <object class="GtkTextView">
			<property name="margin-start">5</property>
			<property name="margin-end">5</property>
			<property name="margin-top">5</property>
			<property name="margin-bottom">5</property>
			<style>
			  <class name="note-text" />
			</style>
			<property name="buffer">
			  <object class="GtkTextBuffer">
			    <property name="text"></property>
			  </object>
			</property>
		      </object>
		    </property>
		  </object>
		</child>
	      </object>
	    </child>
	  </object>
	</child>
      </object>
    </property>
  </template>
</interface>
